﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DMS.Business.Modules.SystemManagement;

namespace DMS.Web.Modules.SystemManagement
{
    public partial class NoticeView : System.Web.UI.Page
    {
        public string NoticeTitle="";

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Sys_notice notice = NoticeService.GetNotice(Request["id"]);
                NoticeTitle = notice.Title + "【" + notice.PublishTime + "】";
                divContent.InnerHtml = Server.HtmlDecode(notice.Content);
            }
        }
    }
}